package com.by.course.entity.vo.user.resp;

import com.by.course.entity.bo.BaseUser;
import com.by.course.entity.pojo.CourseInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("基础用户详情返回")
public class BaseUserResultVO implements Serializable {

    @ApiModelProperty(value = "用户ID")
    private Long id;

    @ApiModelProperty(value = "状态 1-正常 2--冻结  3--已注销")
    private Integer status;

    @ApiModelProperty(value = "状态 1-学生 2--老师  3--管理员")
    private Integer role;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "注册手机号")
    private String mobilePhone;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "课程列表信息")
    private List<CourseInfo> baseCourseList;

    @ApiModelProperty(value = "用户列表")
    private List<BaseUser> userList;

    private static final long serialVersionUID = 1L;
}